//
//  DeviceChartView.h
//  RuiHeApp
//
//  Created by Jun on 2022/11/12.
//

#import <UIKit/UIKit.h>
#import "DevChartModel.h"

NS_ASSUME_NONNULL_BEGIN

@class DevChartModel;

@interface DeviceChartView : UIView

@property (nonatomic ,copy) void(^fullChartBlock)(void);

@property (nonatomic ,copy) void(^addTimeBlock)(void);

@property (nonatomic ,copy) void(^subTimeBlock)(void);

@property (nonatomic ,copy) void(^changeTimeBlock)(void);

@property (nonatomic ,copy) void(^selectTopToolBlock)(NSInteger index);

@property (nonatomic ,strong) DevChartModel *chartModel;

@property (nonatomic, assign) BOOL isLandscape;//是否横屏

- (instancetype)initWithFrame:(CGRect)frame type:(NSInteger)type withIsLandscape:(BOOL)landscape;

-(void)hideSelectBtn:(BOOL)isHide;
@end

NS_ASSUME_NONNULL_END
